package com.ws.haungjia.Service.ServiceImp;

import com.ws.haungjia.Bean.User;
import com.ws.haungjia.Service.GerenService;
import com.ws.haungjia.mapper.GerenzhongxinMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GerenServiceImpl implements GerenService {
    @Autowired
    private GerenzhongxinMapper geren;
    @Override
    public User cha(int id) {
        return geren.usercha(id);
    }

    @Override
    public User huixian(int id) {
        return geren.huixian(id);
    }

    @Override
    public int xiugai(User user) {
        return geren.xiugai(user);
    }


}
